package elephant.config;

import elephant.Server;
import elephant.service.Service;

/**
 * 
 * @author icecooly
 *
 */
public interface ConfigContext {
	//--------------------------------------------------------------------------
	void logInfo(String msg);
	
	void logDebug(String msg);
	
	void logError(String msg);
	
	void logWarn(String msg);
	
	void logTrace(String msg);
	//--------------------------------------------------------------------------
	void registerService(Service service);
	//
	//--------------------------------------------------------------------------
	void loadApplication(String appArchiveFile) throws Exception;
	
	void registerServer(Server server);

	String getServerName();
	
	String getServerPath();
	
}
